/**
 * Created with IntelliJ IDEA.
 * User: Anastasia
 * Date: 12.12.14
 * Time: 8:32
 * To change this template use File | Settings | File Templates.
 */


import java.io.*;

public class Client {


    public static void main(String[] args) throws IOException {

        Frame frame =new Frame();
        frame.setVisible(true);

        frame.addActionListnerForAdd(new Add());


      //  InetAddress addr = InetAddress.getByName(null);

     //   Socket socket = new Socket(addr, 8080);

     /*   try {

            BufferedReader in = new BufferedReader(new InputStreamReader(socket
                    .getInputStream()));

            PrintWriter out = new PrintWriter(new BufferedWriter(
                    new OutputStreamWriter(socket.getOutputStream())), true);
            for (int i = 0; i < 10; i++) {
                out.println("howdy " + i);
                String str = in.readLine();
                //System.out.println(str);
            }
            out.println("END");
        }
        finally {
           // System.out.println("closing...");
            socket.close();
        }   */
    }

}